<include file="Include:header"/>
<div class="content">

    <div class="decoration"></div>
    <div class="container no-bottom">
        <div class="contact-form no-bottom">
            <form action="__URL__/address_add" method="post" class="contactForm" id="contactForm">
                <fieldset>
                    <div class="formTextareaWrap">

                        <div class="formFieldWrap">
                            <label class="field-title contactNameField" for="contactNameField">联系人姓名:<span>(required)</span></label>
                            <input type="text" name="name" value="{$one.name}" class="contactField requiredField"/>
                        </div>

                        <label class="field-title contactMessageTextarea" for="contactMessageTextarea">地址: <span>(required)</span></label>
                        <textarea name="address" class="contactTextarea">{$one.address}</textarea>
                        <label><input style="display:inline" type="checkbox" name="used" value="1" <eq name="one.used" value="1">checked</eq> />
                            <span style="font-size: 13px;">选择此地址作为默认收货地址</span</label>
                    </div>
                    <div class="formSubmitButtonErrorsWrap">
                        <input type="hidden" name="id" value="{$one.id}"/>
                        <input type="submit" class="buttonWrap button grey"  value="添加" data-formId="contactForm"/>
                    </div>
                </fieldset>
            </form>
        </div>
    </div>


    <div class="decoration"></div>
</div>
<include file="Include:footer"/>